import type { Spec } from "@/types/detailTypes/detailTypes.ts";

export interface ShopCart {
   id: string,
   skuId: string
   name: string
   attrsText: string
   picture: string
   price: number
   nowPrice: number
   selected: boolean,
   count: number
   isEffective: true,
   discount?: null,
   isCollect?: number
   postFee?: number
   stock?: number
   nowOriginalPrice?: string
   specs?: Spec[],
}


export interface Stock {
   nowPrice:number
   oldPrice:number|null
   discount:number|null
   isEffective:boolean
   stock:number
}
